hum, "adjustment" was a construct property in 1.2 and still needs to be.
authorTim Janik <timj@gtk.org>
Wed, 20 Jun 2001 02:34:23 +0000 (02:34 +0000)
committerTim Janik <timj@src.gnome.org>
Wed, 20 Jun 2001 02:34:23 +0000 (02:34 +0000)
Wed Jun 20 04:28:24 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkrange.c (gtk_range_class_init): hum, "adjustment" was a
        construct property in 1.2 and still needs to be.

        * gtk/gtkwidget.c: "composite_child" is not a settable property.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkrange.c
gtk/gtkwidget.c

index 78b50886bacb2a9cbc634aec24258e152e4669f6..7106a7ea5a5bccc2a9bca6197539c5af6912dac1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Wed Jun 20 04:28:24 2001  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkrange.c (gtk_range_class_init): hum, "adjustment" was a
+       construct property in 1.2 and still needs to be.
+
+       * gtk/gtkwidget.c: "composite_child" is not a settable property.
+
 Tue Jun 19 19:13:19 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtkliststore.c (gtk_list_store_clear): 
index 78b50886bacb2a9cbc634aec24258e152e4669f6..7106a7ea5a5bccc2a9bca6197539c5af6912dac1 100644 (file)
@@ -1,3 +1,10 @@
+Wed Jun 20 04:28:24 2001  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkrange.c (gtk_range_class_init): hum, "adjustment" was a
+       construct property in 1.2 and still needs to be.
+
+       * gtk/gtkwidget.c: "composite_child" is not a settable property.
+
 Tue Jun 19 19:13:19 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtkliststore.c (gtk_list_store_clear): 
index 78b50886bacb2a9cbc634aec24258e152e4669f6..7106a7ea5a5bccc2a9bca6197539c5af6912dac1 100644 (file)
@@ -1,3 +1,10 @@
+Wed Jun 20 04:28:24 2001  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkrange.c (gtk_range_class_init): hum, "adjustment" was a
+       construct property in 1.2 and still needs to be.
+
+       * gtk/gtkwidget.c: "composite_child" is not a settable property.
+
 Tue Jun 19 19:13:19 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtkliststore.c (gtk_list_store_clear): 
index 78b50886bacb2a9cbc634aec24258e152e4669f6..7106a7ea5a5bccc2a9bca6197539c5af6912dac1 100644 (file)
@@ -1,3 +1,10 @@
+Wed Jun 20 04:28:24 2001  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkrange.c (gtk_range_class_init): hum, "adjustment" was a
+       construct property in 1.2 and still needs to be.
+
+       * gtk/gtkwidget.c: "composite_child" is not a settable property.
+
 Tue Jun 19 19:13:19 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtkliststore.c (gtk_list_store_clear): 
index 78b50886bacb2a9cbc634aec24258e152e4669f6..7106a7ea5a5bccc2a9bca6197539c5af6912dac1 100644 (file)
@@ -1,3 +1,10 @@
+Wed Jun 20 04:28:24 2001  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkrange.c (gtk_range_class_init): hum, "adjustment" was a
+       construct property in 1.2 and still needs to be.
+
+       * gtk/gtkwidget.c: "composite_child" is not a settable property.
+
 Tue Jun 19 19:13:19 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtkliststore.c (gtk_list_store_clear): 
index 78b50886bacb2a9cbc634aec24258e152e4669f6..7106a7ea5a5bccc2a9bca6197539c5af6912dac1 100644 (file)
@@ -1,3 +1,10 @@
+Wed Jun 20 04:28:24 2001  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkrange.c (gtk_range_class_init): hum, "adjustment" was a
+       construct property in 1.2 and still needs to be.
+
+       * gtk/gtkwidget.c: "composite_child" is not a settable property.
+
 Tue Jun 19 19:13:19 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtkliststore.c (gtk_list_store_clear): 
index 78b50886bacb2a9cbc634aec24258e152e4669f6..7106a7ea5a5bccc2a9bca6197539c5af6912dac1 100644 (file)
@@ -1,3 +1,10 @@
+Wed Jun 20 04:28:24 2001  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkrange.c (gtk_range_class_init): hum, "adjustment" was a
+       construct property in 1.2 and still needs to be.
+
+       * gtk/gtkwidget.c: "composite_child" is not a settable property.
+
 Tue Jun 19 19:13:19 2001  Jonathan Blandford  <jrb@redhat.com>
 
        * gtk/gtkliststore.c (gtk_list_store_clear): 
index 840890abd9ed593164962bf97f44d031481106c6..38e64b3d6f191ce31715254a6384efadb0df9fe6 100644 (file)
@@ -260,7 +260,7 @@ gtk_range_class_init (GtkRangeClass *class)
                                                        _("Adjustment"),
                                                        _("The GtkAdjustment that contains the current value of this range object"),
                                                         GTK_TYPE_ADJUSTMENT,
-                                                        G_PARAM_READWRITE));
+                                                        G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
 
   g_object_class_install_property (gobject_class,
                                    PROP_INVERTED,
index 4d4e8ceba289da68e7ebb781d93e884a4ce9c4ce..2ebaa48dbbdde4cea023419c23da629499ae7c4a 100644 (file)
@@ -387,7 +387,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                        _("The name of the widget"),
                                                        NULL,
                                                        G_PARAM_READWRITE));
-  
   g_object_class_install_property (gobject_class,
                                   PROP_PARENT,
                                   g_param_spec_object ("parent",
@@ -395,7 +394,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                        _("The parent widget of this widget. Must be a Container widget."),
                                                        GTK_TYPE_CONTAINER,
                                                        G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_X,
                                   g_param_spec_int ("x",
@@ -405,7 +403,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                     G_MAXINT,
                                                     -1,
                                                     G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_Y,
                                   g_param_spec_int ("y",
@@ -415,7 +412,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                     G_MAXINT,
                                                     -1,
                                                     G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_WIDTH,
                                   g_param_spec_int ("width",
@@ -425,7 +421,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                     G_MAXINT,
                                                     -1,
                                                     G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_HEIGHT,
                                   g_param_spec_int ("height",
@@ -435,7 +430,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                     G_MAXINT,
                                                     -1,
                                                     G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_VISIBLE,
                                   g_param_spec_boolean ("visible",
@@ -443,7 +437,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                         _("Whether the widget is visible"),
                                                         FALSE,
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_SENSITIVE,
                                   g_param_spec_boolean ("sensitive",
@@ -451,7 +444,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                         _("Whether the widget responds to input"),
                                                         TRUE,
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_APP_PAINTABLE,
                                   g_param_spec_boolean ("app_paintable",
@@ -459,7 +451,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                         _("Whether the application will paint directly on the widget"),
                                                         FALSE,
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_CAN_FOCUS,
                                   g_param_spec_boolean ("can_focus",
@@ -467,7 +458,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                         _("Whether the widget can accept the input focus"),
                                                         FALSE,
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_HAS_FOCUS,
                                   g_param_spec_boolean ("has_focus",
@@ -475,7 +465,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                         _("Whether the widget has the input focus"),
                                                         FALSE,
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_CAN_DEFAULT,
                                   g_param_spec_boolean ("can_default",
@@ -483,7 +472,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                         _("Whether the widget can be the default widget"),
                                                         FALSE,
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_HAS_DEFAULT,
                                   g_param_spec_boolean ("has_default",
@@ -491,7 +479,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                         _("Whether the widget is the default widget"),
                                                         FALSE,
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_RECEIVES_DEFAULT,
                                   g_param_spec_boolean ("receives_default",
@@ -499,16 +486,13 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                         _("If TRUE, the widget will receive the default action when it is focused."),
                                                         FALSE,
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_COMPOSITE_CHILD,
                                   g_param_spec_boolean ("composite_child",
                                                         _("Composite child"),
                                                         _("Whether the widget is composed of other widgets"),
                                                         FALSE,
-                                                        G_PARAM_READWRITE));
+                                                        G_PARAM_READABLE));
   g_object_class_install_property (gobject_class,
                                   PROP_STYLE,
                                   g_param_spec_object ("style",
@@ -516,7 +500,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                        _("The style of the widget, which contains information about how it will look (colors etc)."),
                                                        GTK_TYPE_STYLE,
                                                        G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_EVENTS,
                                   g_param_spec_flags ("events",
@@ -525,7 +508,6 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                       GDK_TYPE_EVENT_MASK,
                                                       GDK_STRUCTURE_MASK,
                                                       G_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,
                                   PROP_EXTENSION_EVENTS,
                                   g_param_spec_enum ("extension_events",
@@ -1138,12 +1120,6 @@ gtk_widget_set_property (GObject         *object,
       else
        GTK_WIDGET_UNSET_FLAGS (widget, GTK_RECEIVES_DEFAULT);
       break;
-    case PROP_COMPOSITE_CHILD:
-      if (g_value_get_boolean (value))
-       GTK_WIDGET_SET_FLAGS (widget, GTK_COMPOSITE_CHILD);
-      else
-       GTK_WIDGET_UNSET_FLAGS (widget, GTK_COMPOSITE_CHILD);
-      break;
     case PROP_STYLE:
       gtk_widget_set_style (widget, g_value_get_object (value));
       break;